package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportCatalogDTO;
import com.hunttown.mes.rpc.domain.query.TransportCatalogDTOQuery;

/**
 * created by wangjunfu on 2019-05-19 01:20:09
 */
public interface TransportCatalogRpcService {

    TransportCatalogDTO insert(TransportCatalogDTO transportCatalogDTO);

    Boolean updateInfoById(TransportCatalogDTO transportCatalogDTO);

    Boolean updateInfoByQuery(TransportCatalogDTOQuery transportCatalogDTOQuery);

    TransportCatalogDTO selectById(Integer id);

    TransportCatalogDTO selectObjByQuery(TransportCatalogDTOQuery transportCatalogDTOQuery);

    Page<TransportCatalogDTO> getListForPage(TransportCatalogDTOQuery transportCatalogDTOQuery);

    Boolean deleteById(Integer id);
}